#pragma once
#include <cv.h>
#include <highgui.h>
#include <vector>
#include "stdafx.h"
#include "Thread.h"
#include "LearningAndRecognition.h"
class CapturingAndStoring
{
public:
	CapturingAndStoring(void);
	~CapturingAndStoring(void);
	void PrepareFaceInImageAndStoreOnDisk(char * argv[], IplImage * inputImage, CvRect faceRect, std::string input, int personCounter, std::string dynInput, const char * filePath, bool personNameExists, std::vector<std::string> &vectorFilePaths);
	IplImage * fixedImg;
	static const int FACE_WIDTH;
	static const int FACE_HEIGHT;
	static bool killThread;
private:
	IplImage * resultImg;
	IplImage * imageProcessed;
	IplImage * croppedFaceImg;
};

